package cm.mefobe.android.telecomcost.entities;

public class Provider extends Entity{
	public Provider() {
	}	
			
	public Provider(long _countryId, String _prefixes) {
		super();
		this._countryId = _countryId;
		this._prefixes = _prefixes;
	}

	private long _countryId;
	private String _prefixes = "";		
	
	public void setPrefixes(String value) {
		this._prefixes = value;
	}
	
	public static Provider allProvider()
	{
		Provider allProvider = new Provider(-1,"");
		allProvider.setName("All providers");
		allProvider.setId(-1);
		
		return allProvider;
	}
	
	public String getPrefixes() {
		return _prefixes;
	}
	
	public void setCountryId(long _countryId) {
		this._countryId = _countryId;
	}

	public long getCountryId() {
		return _countryId;
	}	

	public static final String PROP_TYPE = "Provider";
	
	@Override
	public String toString() {
		return getName();
	}
}
